Automattic\WooCommerce\StoreApi\Utilities\ProductQuery B

Total Complexity 78
Dependencies 2
Dependents 2
Total lines 502
Lines of code 315
Logical lines of code 164
Comment lines 120
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_objects_query()
D
23
45 174
add_query_clauses()
A
45 11 39
add_price_filter_clauses()
S
54 5 22
get_results()
S
54 4 19
get_price_filter_query_for_displayed_taxes()
S
53 3 23
adjust_price_filter_for_tax_class()
S
61 3 11
adjust_price_filters_for_displayed_taxes()
S
72 2 5
append_product_sorting_table_join()
S
67 2 7
get_objects()
S
66 1 8
get_last_modified()
S
75 1 4
prepare_price_filter()
S
78 1 3